package cn.edu.sgu.www.mhxysy.mapper.xingyin;

import cn.edu.sgu.www.mhxysy.entity.xingyin.XingyinAttribute;
import cn.edu.sgu.www.mhxysy.vo.except.AttributeVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author 沐雨橙风ιε
 * @version 1.0
 */
@Repository
public interface XingyinAttributeMapper extends BaseMapper<XingyinAttribute> {

    /**
     * 查询角色所有星印增加的治疗强度
     * @param roleId 角色ID
     * @return int
     */
    Integer selectZlqd(@Param("roleId") String roleId);

    /**
     * 查询星印属性列表
     * @param xingyinId 星印ID
     * @return List<AttributeVO>
     */
    List<AttributeVO> selectAttributes(@Param("xingyinId") String xingyinId);
}